package org.jeecg.common.modules.order.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.jeecgframework.poi.excel.annotation.Excel;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 订单信你
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "xml")
public class OrderInfoReqVo {

    private String id;

    @Excel(name = "创建时间", width = 15)
    @ApiModelProperty(value = "创建时间")
    private Date createTime;   //创建时间

    @Excel(name = "订单类型", width = 15)
    @ApiModelProperty(value = "订单类型")
    private Integer shopType;      //订单类型

    @Excel(name = "订单状态", width = 15)
    @ApiModelProperty(value = "订单状态")
    private Integer status;        //订单状态

    @Excel(name = "用户姓名", width = 15)
    @ApiModelProperty(value = "用户姓名")
    private String userName;    //用户姓名

    @Excel(name = "医生名称", width = 15)
    @ApiModelProperty(value = "医生名称")
    private String doctorName;  //医生名称

    @Excel(name = "订单金额", width = 15)
    @ApiModelProperty(value = "订单金额")
    private BigDecimal amount;   //订单金额
}
